<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发文</title>
</head>
<body>
<div style="width: 100%;margin: auto;padding: 1em 0;">
<style type="text/css">
	.staticTd13{
		width: 14%;
	}
	.dynamicTd20{
		width: 19%;
	}
	.dynamicTd21{
		width: 21%;
	}
	.dynamicTd87{
		width: 86%;
	}
	.liNote{
		list-style-type:none;margin: 0;
	}
	.marginTop{
		margin-top: 8px;
	}
</style>
	<form id="docWorkOrderForm">
		<input id="signatoryTime" name="signatoryTime" type="hidden" value="<fmt:formatDate value="${docIssue.signatoryTime}" pattern="yyyy-MM-dd HH:mm:ss" />">
		<input id="docId" name="docId" type="hidden"  value="<c:out value='${docIssue.docId}'/>"/>
		<input id="processId" name="processId" type="hidden"  value="<c:out value='${docIssue.processId}'/>"/>
		<input id="formId" name="formId" type="hidden"  value="<c:out value='${docIssue.formId}'/>"/>
		<input id="workEffortId" name="workEffortId" type="hidden" value="<c:out value='${workEffortId}'/>"/>
		<input id="saveFlag" name="saveFlag" type="hidden" value="<c:out value='${saveFlag}'/>"/>
		
		<table id="docIssueTable" class="inputTable">
			<caption id="captionValue" style="text-align: left;"><c:out value='${docIssue.formName}' />（<c:out value='${docIssue.participantType}' />）</caption>
			<tr>
				<td class="staticTdNW staticTd13">编<span class="spaceSpan"></span>号
					<input type="hidden" id="numberLogId" name="numberLogId" value="">	
					<input type="hidden" id="numberId" name="numberId" value="">
					<input type="hidden" id="numberContent" name="numberContent" value="">
					<input type="hidden" id="numberValue" name="numberValue" value="">
				</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<c:if test="${saveFlag eq '1'}">
					<input id="numOrg"  disabled="disabled" class="easyui-textbox" type="text" value="<c:out value='${docIssue.draftOrg}'/>"/>-GLD-<input id="numDate"  disabled="disabled" class="easyui-textbox" style="width: 100px;" value="<fmt:formatDate value='${numDate}' pattern='yyyy-MM' />" />
					-<input id="num" name="num"  class="easyui-textbox"  value="${num}"  style="width: 100px;" />
					<input id="numYear" name="numYear"  type="hidden"  value="<fmt:formatDate value='${numDate}' pattern='yyyy' />" />
					<input type="hidden" id="displayNumber" name="displayNumber" value="<c:out value='${docIssue.displayNumber}'/>">
					</c:if>
					<c:if test="${saveFlag eq '0'}">
						<input id="displayNumber" name="displayNumber" style="width: 250px;" disabled="disabled" class="easyui-textbox" type="text" value="<c:out value='${docIssue.displayNumber}'/>"   />
					</c:if>
				</td>
			</tr>
			<!-- 标题 -->
			<tr>
				<td class="staticTdNW staticTd13"><font color="red">*</font>标<span class="spaceSpan"></span>题</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<input id="docName" name="docName" style="width: 85%;" value="<c:out value='${docIssue.docName}' />" />
				</td>
			</tr>
			<!-- 主送 -->
			<tr>
				<td class="staticTdNW staticTd13"><font color="red">*</font>主<span class="spaceSpan"></span>送</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<!-- <input id="inputZS" style="width: 85%;" type="text" tip="请选择主送单位"/> -->
					<input id="inputZS"   style="width: 80%;height: 50px;" value="<c:out value='${inputZS}' />" />
					<img id="imgZS" title="点击选择" class="pointer target" src="<c:url value='/images/layout.gif'/>">
					<img id="imgZSR" title="补发选择" class="pointer targetR" src="<c:url value='/images/addSend.png'/>">
				</td>
			</tr>
			<!-- 抄送 -->
			<tr>
				<td class="staticTdNW staticTd13">抄<span class="spaceSpan"></span>送</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<!-- <input id="inputCS" style="width: 85%;" type="text" tip="请选择抄送单位"/> -->
					<input id="inputCS"  style="width: 80%;height: 50px;" value="<c:out value='${inputCS}' />" />
					<img id="imgCS" title="点击选择" class="pointer target" src="<c:url value='/images/layout.gif'/>">
					<img id="imgCSR" title="补发选择" class="pointer targetR" src="<c:url value='/images/addSend.png'/>">
				</td>
			</tr>
			
			<tr>
				<!-- 联系人 -->
				<td class="staticTdNW staticTd13" id="namePerson">联<span class="spaceSpanHalf"></span>系<span class="spaceSpanHalf"></span>人</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="printer" name="printer"  style="width:70%" value="<c:out value='${docIssue.printer}'/>" /> 
				</td>
				<!-- 紧急程度 -->
				<td class="staticTdNW staticTd13" id="emergencyLevel"><font color="red">*</font>紧急程度</td>
				<td class="dynamicTdNW dynamicTd20">
					<select id="emergencyCode" name="emergencyCode" style="width: 70%;">
						<option value="普通" <c:if test="${docIssue.emergencyCode eq '普通' }">selected="selected"</c:if>>普通</option>
						<option value="急" <c:if test="${docIssue.emergencyCode eq '急' }">selected="selected"</c:if>>急</option>
						<option value="加急" <c:if test="${docIssue.emergencyCode eq '加急' }">selected="selected"</c:if>>加急</option>
						<option value="特急" <c:if test="${docIssue.emergencyCode eq '特急' }">selected="selected"</c:if>>特急</option>
					</select>
				</td>
				<!-- 联系方式 -->
				<td class="staticTdNW staticTd13" id="contactInformation">联系方式</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="drafterTel" name="drafterTel" style="width:70%" type="text"  value="<c:out value='${docIssue.drafterTel}'/>" /> 
				</td>
			</tr>
			
			
			
			<!--  联系内容 -->
			<tr id="publicReasonTR">
				<td class="staticTdNW staticTd13">联系<br/>内容</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<textarea id="publicReason" name="publicReason" style="width: 85%;height: 100px;" ><c:out value='${docIssue.publicReason}' /></textarea>
				</td>
			</tr>
			<!-- 关联的公文 -->
			<tr>
				<td class="staticTdNW staticTd13">附<span class="spaceSpan"></span>件</td>
				<td class="dynamicTdNW dynamicTd87" colspan="5">
					<div id="fileDiv"></div>
				</td>
			</tr>
			<tr>
				<!-- 是否督办 -->
				<%-- <td class="staticTdNW staticTd13">是否督办</td>
				<td class="dynamicTdNW dynamicTd20">
					<input type="radio" style="border: none;" id="isSuperviseYes" name="isSuperviseValue" <c:if test="${docIssue.isSupervise=='1' }">checked="checked"</c:if> value="1"><label for="isSuperviseYes">需要督办</label>
					<input type="radio" style="border: none;" id="isSuperviseNo" name="isSuperviseValue" <c:if test="${docIssue.isSupervise=='0' }">checked="checked"</c:if> value="0"><label for="noSupervise">不需督办</label>
					
					<input id="isSupervise" name="isSupervise" type="hidden" value="<c:out value='${docIssue.isSupervise}'/>"/>
				</td> --%>
				<!-- 是否归档 -->
				<td class="staticTdNW staticTd13"><font color="red">*</font>是否归档</td>
				<td class="dynamicTdNW dynamicTd20">
					<select id="isArchive" name="isArchive" style="width: 100px;">
						<!-- <option value="">不选择</option> -->
						<option value="0" <c:if test="${docIssue.isArchive=='0' }">selected="selected"</c:if>>不归档</option>
						<option value="1" <c:if test="${docIssue.isArchive=='1' }">selected="selected"</c:if>>归档</option>
						
					</select>
				</td>
				
				<td class="staticTdNW staticTd13"><font color="red">*</font>是否通过会议通知<br/>系统发送</td>
				<td class="dynamicTdNW dynamicTd20" <c:if test="${!(isHeadquarters eq 1) }">colspan="3"</c:if> >
					<input id="isMeetingYes" name="isMeeting" <c:if test="${docIssue.isMeeting=='1' }">checked="checked"</c:if> type="radio" value="1"><label for="isMeetingYes">是</label>
					<input id="isMeetingNo" name="isMeeting" <c:if test="${docIssue.isMeeting=='0' }">checked="checked"</c:if>  type="radio" value="0"><label for="isMeetingNo">否</label>
					<input id="editMeetingNoticeBtn" name="editMeetingNoticeBtn" type="button" value="编辑会议通知"/>
				</td>
				
				<!-- 督办人 -->
				<%-- <td class="staticTdNW staticTd13">督办人</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="reviewer" name="reviewer"  style="width:70%" value="<c:out value='${docIssue.reviewer}'/>" /> 
				</td> --%>
			</tr>
			<%-- <tr>
				<td class="staticTdNW staticTd13">签发人</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="draftOrgLeader" name="draftOrgLeader"  style="width:70%" value="<c:out value='${docIssue.draftOrgLeader}'/>" /> 
				</td>
				<td class="staticTdNW staticTd13">签发日期</td>
				<td class="dynamicTdNW dynamicTd21">
					<input id="sendTime" name="sendTime" style="width: 70%;" value="<fmt:formatDate value="${docIssue.sendTime}" pattern="yyyy-MM-dd" />">
				</td>
			</tr> --%>
			<tr>
				<!-- 拟稿部门 -->
				<td class="staticTdNW staticTd13">拟稿部门</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="draftOrg" name="draftOrg" style="width:70%" type="text" value="<c:out value='${docIssue.draftOrg}'/>"/>
        			<input id="draftOrgCode" name="draftOrgCode" type="hidden" value="<c:out value='${docIssue.draftOrgCode}'/>"/>
        			<input id="dispatchOrgCode" name="dispatchOrgCode" type="hidden" value="<c:out value='${docIssue.dispatchOrgCode}'/>"/>
        			<input id="dispatchOrg" name="dispatchOrg" type="hidden" value="<c:out value='${docIssue.dispatchOrg}'/>"/>
				</td>
				<!-- 拟稿人 -->
				<td class="staticTdNW staticTd13">拟<span class="spaceSpanHalf"></span>稿<span class="spaceSpanHalf"></span>人</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="drafter" name="drafter" style="width:70%" type="text" value="<c:out value='${docIssue.drafter}'/>"/>
			        <input id="drafterCode" name="drafterCode" type="hidden"  value="<c:out value='${docIssue.drafterCode}'/>"/>
			        <input id="topOrgCode" name="topOrgCode" type="hidden"  value="<c:out value='${docIssue.topOrgCode}'/>"/>
				</td>
				<!-- 拟稿时间 -->
				<td class="staticTdNW staticTd13">拟稿时间</td>
				<td class="dynamicTdNW dynamicTd20">
					<input id="createTime" name="createTime" style="width:70%" type="text" value="<fmt:formatDate value="${docIssue.createTime}" pattern="yyyy-MM-dd" />" />
				</td>
			</tr>
			<tr id="signDateShow" style="display:none">
				<td class="staticTdNW staticTd13">会签时限</td>
				<td class="dynamicTdNW dynamicTd20" colspan="5">
				   <input id="signDate" class="easyui-textbox" name="signDate" style="width:20%" type="text" 
    				value="<fmt:formatDate value="${signDate}" pattern="yyyy-MM-dd" />" disabled="disabled"/>
				</td>
			</tr>
			
		</table>
	</form> 
	<div id="dialogDivWorkOrder">
		<iframe id="dialogIframeWorkOrder" height="100%" width="100%" frameborder="0" scrolling="no" />
	</div>
	
	<%@ include file="/pages/jsp/docIssue/correlationIssue.jsp" %>

	<div id="divZS">
		<table>
			<tr>
				<td>
					<ul id="checkTree1"></ul>
				</td>
				<td style="position:absolute;top:30px;right:50px;width:250px;">
					<div style="padding-left: 1em;">
						系统外单位：<br/>
						<textarea class="easyui-textbox" id="textbox_zs" style="width: 100%;height: 260px;">${inputZSST}</textarea>
					</div>
				</div>
				</td>
			</tr>
		</table>
		
		
	<div id="divCB"></div>
	<div id="divCS">
		<table>
			<tr>
				<td>
					<ul id="checkTree2"></ul>
				</td>
				<td style="position:absolute;top:30px;right:50px;width:250px;">
					<div style="padding-left: 1em;">
						系统外单位：<br/>
						<textarea class="easyui-textbox" id="textbox_cs" style="width: 100%;height: 260px;">${inputCSST}</textarea>
					</div>
				</div>
				</td>
			</tr>
		</table>
	</div>
	<div id="divFS"></div>
	<div id="divHQ"></div>
	
	<div id="divZSR"><ul id="checkTree3"></ul></div>
	<div id="divCBR"></div>
	<div id="divCSR"><ul id="checkTree4"></ul></div>
	<div id="divFSR"></div>
	<div id="divHQR"></div>
	
	<script type="text/javascript">
		<%@ include file="/pages/jsp/commom/validator.js" %>
		<%@ include file="/pages/jsp/docIssue/workOrder.js" %>
	</script>
</div>
</body>
</html>